//
//  Zaiquan.m
//  盘盈贷1.2
//
//  Created by iOS on 15/3/6.
//  Copyright (c) 2015年 iOS. All rights reserved.
//

#import "Zaiquan.h"

@implementation Zaiquan
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

- (id)valueForUndefinedKey:(NSString *)key
{
    return nil;
}
- (instancetype)initWithDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
        
        self.Title = [[dic objectForKey:@"FirstProduct"] objectForKey:@"Title"];
        self.Description = [dic objectForKey:@"Description"];
        self.Amount = [[dic objectForKey:@"Transfer"] objectForKey:@"Amount"];
        self.LoanRate = [dic objectForKey:@"LoanRate"];
        self.PublishTime = [dic objectForKey:@"PublishTime"];
        self.Limit = [[dic objectForKey:@"Transfer"] objectForKey:@"Limit"];
        self.BidAmount = [dic objectForKey:@"BidAmount"];
        self.LastDays = [dic objectForKey:@"LastDays"];
        self.LoanRealName = [dic objectForKey:@"LoanRealName"];
        self.FirstLimit = [dic objectForKey:@"FirstLimit"];
        self.FirstProduct = [dic objectForKey:@"FirstProduct"];
        self.Rate = [dic objectForKey:@"Rate"];
    }
    return self;
}
@end
